package cn.itsource.pojo.app.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 📖：beishan
 * 🗓️：2024/4/10 16:46
 * =====================
 */
@Data
@Builder
public class AddCarDto {
    @Schema(name = "carPlate", description = "车牌号")
    @TableField("car_plate")
    @NotEmpty(message = "车牌号为空")
    private String carPlate;

    @Schema(name = "carType", description = "车型")
    @TableField("car_type")
    @NotEmpty(message = "车型为空")
    private String carType;
}
